Add button in settings to clear reCAPTCHA cookies#4453
Add button in settings to clear reCAPTCHA cookies#4453TobiGr merged 1 commit intoTeamNewPipe:devfrom wb9688:clear-cookies
Conversation
TobiGr
left a comment
There was a problem hiding this comment.
Code looks good to me. Did not test, but I guess, you did :)
Stypox
left a comment
There was a problem hiding this comment.
Thank you. Shouldn't the preference be disabled or hidden when there are no cookies to clear?
app/src/main/java/org/schabi/newpipe/settings/ContentSettingsFragment.java
Outdated
Show resolved
Hide resolved
|
@Stypox: Now it's hidden when there's no cookie (and will hide when you press it). I confirmed that it works using Stetho. |
|
Does it always check for "no cookie" before hiding or does tapping it suffice? In other words, does it assume the operation will succeed or does it wait and check that cookies have been cleared before hiding? Is hiding prevented if the operation fails for whatever reason? |
|
Either the operation fails making the app crash before it gets to hide the button or the operation succeeds thus correctly hiding the button. So there is no room for inconsistency here |
What is it?
Description of the changes in your PR
Add button in settings to clear reCAPTCHA cookies
Fixes the following issue(s)
Fixes #4279
Testing apk
app-debug.apk.zip
Agreement